import Vue from 'vue'
import Vuex from 'vuex'
import { ITagsViewState } from './modules/tags-view'
import { IPermissionState } from '@/store/modules/permission'
import { IUserState } from '@/store/modules/user'

Vue.use(Vuex)

export interface IRootState {
  tagsView: ITagsViewState,
  permission: IPermissionState,
  user: IUserState
}

export default new Vuex.Store<IRootState>({})
